package org.txazo.pattern.observer;

import java.util.Date;

public class ConcreteObserver implements Observer {

	private String name;

	public ConcreteObserver(String name) {
		this.name = name;
	}

	@Override
	public void update(String price) {
		System.out.println(name + "\t" + price + "\t" + new Date());
	}

}
